package cn.tedu;

import cn.tedu.pojo.Student;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;


public class TestST {
    @Test
    public void di() {
        ClassPathXmlApplicationContext spring = new ClassPathXmlApplicationContext("spring-config.xml");
        Object o = spring.getBean("student");
        System.out.println(o);
    }
}
